<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
    <title>Buscador</title>
    <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="js/jquery.autocomplete.js"></script>
    <link rel="stylesheet" href="css/estilos.css" type="text/css" media="screen" charset="utf-8" />
    </h:head>
    <h:body>
        <div>
            <h:form>
                <input id="buscador" type="text" size="25"/>
                
            </h:form>
        </div>
        <script type="text/javascript">
            $(document).ready(function(){
                $("#buscador").autocomplete("getdata.jsp");
            });
        </script>
    </h:body>
</html>

